<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#image_list_{{ $model->id }}">
    查看图片
</button>

<!-- Modal -->
<div class="modal fade" id="image_list_{{ $model->id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">图片列表</h4>
            </div>
            <div class="modal-body">
                @foreach($model->image_list as $image)
                    <img src="{{ asset('uploads/'.$image) }}" alt="" style="max-width:100%;margin-bottom: 10px">
                @endforeach
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
